<template>
  <!-- <router-view v-slot="{ Component: documentPage, route }">
    <keep-alive>
      <component
        :is="documentPage"
        :key="route.name"
        v-if="route.meta.keepAlive"
      />
    </keep-alive>
    <component
      :is="documentPage"
      :key="route.name"
      v-if="!route.meta.keepAlive"
    />
  </router-view> -->
  <router-view />
</template>
<script setup>
import { ref, onMounted, defineOptions } from "vue";

defineOptions({ name: "documentCom" });

onMounted(() => {
  console.log("文档管理文档挂载完成");
});
</script>
